﻿@model WebStore.Web.App.Models.Account.ProfileModel
<h1 class="title">Profile</h1>
<div id="profile-cart">
    @using (Html.BeginForm("Profile", "Account"))
    {
        <table>
            <tr>
                <td>
                    @Html.LabelFor(x => x.FirstName)
                </td>
                <td>
                    @Html.EditorFor(x => x.FirstName)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.SecondName)
                </td>
                <td>
                    @Html.EditorFor(x => x.SecondName)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.LastName)
                </td>
                <td>
                    @Html.EditorFor(x => x.LastName)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.AddressLine)
                </td>
                <td>
                    @Html.EditorFor(x => x.AddressLine)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.City)
                </td>
                <td>
                    @Html.EditorFor(x => x.City)
                </td>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.PostalCode)
                </td>
                <td>
                    @Html.EditorFor(x => x.PostalCode)
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="Submit" />
                </td>
            </tr>
        </table>
    }
</div>
